package com.szrt.day20161025.oa.base.dao.impl;

import com.szrt.day20161025.oa.base.dao.BaseDao;

public class BaseDaoImpl<T> implements BaseDao<T> {

	@Override
	public int add(T t) {
		System.out.println("增加成功......");
		return 1;
	}

	@Override
	public int delete(int id) {
		System.out.println("删除成功......"+ id);
		return 1;
	}

	@Override
	public int update(T t) {
		System.out.println("修改成功......");
		return 1;
	}

	@Override
	public T findById(int id) {
		System.out.println("查找成功......");
		return null;
	}

}
